/*
 * Copyright 2011-2016 YueJi.com All right reserved. This software is the confidential and proprietary information of
 * YueJi.com ("Confidential Information"). You shall not disclose such Confidential Information and shall use it only in
 * accordance with the terms of the license agreement you entered into with YueJi.com.
 */
package com.bops.dal.user.dao;

import java.util.List;

import com.bops.dal.user.dataobject.RoleDO;
import com.bops.dal.user.queryobject.RoleQuery;

/**
 * 类userDao.java的实现描述：TODO 类实现描述
 * 
 * @author pgj 2011-9-8 下午1:58:22
 */
public interface RoleDao {

    /**
     * 批量更新用户权限
     * @param addList
     * @param deleteList
     */
    void batchUpdateRole(final List<RoleDO> addList,final List<RoleDO> deleteList);
    
    /**
     * 返回需要的权限
     * @param query
     * @return
     */
    List<RoleDO> listRole(RoleQuery query);
    
}
